﻿#ifndef MEASURESPECDOCKWIDGET_H
#define MEASURESPECDOCKWIDGET_H

#include <QDialog>
#include <QDockWidget>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QWidget>
#include <QImage>
#include "Sqlite.h"
#include "MeasureSpecWidget.h"
#include "CheckPosition.h"
#include <gsl/gsl_fit.h>

class MainWindow;

class MeasureSpecDockWidget : public QDockWidget
{
    Q_OBJECT
public:
    explicit MeasureSpecDockWidget(QWidget *parent = Q_NULLPTR, B3MainWindow *win = 0, Qt::WindowFlags flags = Qt::WindowFlags());
    void clean();
signals:
    void goToXYZ(double x, double y, double z, double speed);  // 20190929, zdz
private:
    QWidget *dockWidget;
    MeasureSpecWidget *m_MeasureSpec;
};

#endif // MEASURESPECDOCKWIDGET_H
